|
2020-2021 Sunseeker Telemetry and Lighting System
|
#include "driverlib.h"Go to the source code of this file.
Macros | |
| #define | INFOA_START (0x1980) |
Functions | |
| void | main (void) |
Variables | |
| uint8_t | calibration_data_char [16] |
| uint16_t | calibration_data_int [8] |
| uint32_t | calibration_data_long [4] |
| #define INFOA_START (0x1980) |
Dummy calibration data is written to infoA. 16 locations are written with char data, 8 locations with int data and 4 locations with word data. LED toggles upon completion.
Check infoB location @ 0x1980 on execution of program.
/|| | | | P1.0|-LED –|RST | | |
This example uses the following peripherals and I/O signals. You must review these and change as needed for your own board:
This example uses the following interrupt handlers. To use this example in your own application you must add these interrupt handlers to your vector table.
Definition at line 63 of file flashctl_ex4_writeToInfoA.c.
| void main | ( | void | ) |
Definition at line 109 of file flashctl_ex4_writeToInfoA.c.
References __delay_cycles(), calibration_data_char, calibration_data_int, calibration_data_long, INFOA_START, status, and STATUS_FAIL.
| uint8_t calibration_data_char[16] |
Definition at line 70 of file flashctl_ex4_writeToInfoA.c.
Referenced by main().
| uint16_t calibration_data_int[8] |
Definition at line 91 of file flashctl_ex4_writeToInfoA.c.
Referenced by main().
| uint32_t calibration_data_long[4] |
Definition at line 104 of file flashctl_ex4_writeToInfoA.c.
Referenced by main().